package hao.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.EnableMBeanExport;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ClazzQueryParam {
    private String name; // 班级名称
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin; // 开班日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end; // 结课时间
    private Integer page = 1; //分页查询的页码
    private Integer pageSize = 10; // 每页查询的记录数
}
